package com.app.model.response;

/**
 * Created by Lichaojie on 2017/3/19. It's a beautiful day.
 */
public class SearchArticleResponseBody {
    protected long articleId;
    protected String title;
    protected String content;
    protected String time;
    protected long commentNum;
    protected long approvalNum;
    protected long userId;
    protected String nickName;
    protected String avator;
    protected String label;
    protected String image;
    protected byte type;

    public byte getType() {
        return type;
    }

    public SearchArticleResponseBody type(byte type) {
        this.type = type;
        return this;
    }

    public long getArticleId() {
        return articleId;
    }

    public SearchArticleResponseBody setArticleId(long articleId) {
        this.articleId = articleId;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public SearchArticleResponseBody setTitle(String title) {
        this.title = title;
        return this;
    }

    public String getContent() {
        return content;
    }

    public SearchArticleResponseBody setContent(String content) {
        this.content = content;
        return this;
    }

    public String getTime() {
        return time;
    }

    public SearchArticleResponseBody setTime(String time) {
        this.time = time;
        return this;
    }

    public long getCommentNum() {
        return commentNum;
    }

    public SearchArticleResponseBody setCommentNum(long commentNum) {
        this.commentNum = commentNum;
        return this;
    }

    public long getApprovalNum() {
        return approvalNum;
    }

    public SearchArticleResponseBody setApprovalNum(long approvalNum) {
        this.approvalNum = approvalNum;
        return this;
    }

    public long getUserId() {
        return userId;
    }

    public SearchArticleResponseBody setUserId(long userId) {
        this.userId = userId;
        return this;
    }

    public String getNickName() {
        return nickName;
    }

    public SearchArticleResponseBody setNickName(String nickName) {
        this.nickName = nickName;
        return this;
    }

    public String getAvator() {
        return avator;
    }

    public SearchArticleResponseBody setAvator(String avator) {
        this.avator = avator;
        return this;
    }

    public String getLabel() {
        return label;
    }

    public SearchArticleResponseBody setLabel(String label) {
        this.label = label;
        return this;
    }

    public String getImage() {
        return image;
    }

    public SearchArticleResponseBody setImage(String image) {
        this.image = image;
        return this;
    }
}
